package top.dbpanda.cmsjpa.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 20018954
 */
@RestController
@Api(tags = "首页")
public class IndexController {

    @GetMapping("/index")
    @ApiOperation("首页入口")
    public String index() {
        return "hello world";
    }
}
